var Qualtrics_SV_6ApoqDfNM2d6gIZ = { url:document.URL, survey:"http://survey.qualtrics.com/SE/?SID=SV_6ApoqDfNM2d6gIZ", popup:function(width,height) { link=Qualtrics_SV_6ApoqDfNM2d6gIZ.survey+"&url="+Qualtrics_SV_6ApoqDfNM2d6gIZ.url; options = "menubar=no,width="+width+",height="+height+",toolbar=no,location=no,status=no,scrollbars=yes" var popupwindow = window.open(link,'Title',options); popupwindow.href+='&test'; }, showTip:function() { if(!document.getElementById('SV_6ApoqDfNM2d6gIZ'+'_tooltip')){ var new_link = document.getElementById('SV_6ApoqDfNM2d6gIZ'+'_feedbacklink'); var tip = document.createElement('div'); tip.style.fontSize='8pt'; tip.style.position='absolute'; tip.style.backgroundColor = '#FFFFC7'; tip.style.border='1px solid #FFDC81'; tip.style.color='#777777'; tip.style.fontFamily='Arial'; tip.style.whiteSpace='nowrap'; tip.style.textDecoration='none'; tip.style.padding='2px'; tip.id='SV_6ApoqDfNM2d6gIZ'+'_tooltip'; tip.innerHTML='Leave feedback for this website.'; document.body.appendChild(tip); if (new_link.addEventListener){new_link.addEventListener('mousemove', Qualtrics_SV_6ApoqDfNM2d6gIZ.moveTip, false);} else if (new_link.attachEvent){ new_link.attachEvent('onmousemove', Qualtrics_SV_6ApoqDfNM2d6gIZ.moveTip);} } }, moveTip:function(e) { if(document.getElementById('SV_6ApoqDfNM2d6gIZ'+'_tooltip')) { var tip=document.getElementById('SV_6ApoqDfNM2d6gIZ'+'_tooltip'); var mouseX;var mouseY; if (e.pageX){mouseX=e.pageX;mouseY=e.pageY;} else{mouseX=e.clientX+document.documentElement.scrollLeft;mouseY=e.clientY+document.documentElement.scrollTop;} if (mouseY-25<0){tip.style.top=mouseY + 15 +'px';} else {tip.style.top=(mouseY-25)+'px';} if (mouseX+15+tip.offsetWidth>window.innerWidth){tip.style.left=(window.innerWidth-tip.offsetWidth)+'px';} else{tip.style.left=(mouseX+15)+'px';} } }, removeTip:function() { var tip = document.getElementById('SV_6ApoqDfNM2d6gIZ'+'_tooltip');tip.parentNode.removeChild(tip); var new_link = document.getElementById('SV_6ApoqDfNM2d6gIZ'+'_feedbacklink'); if (new_link.addEventListener){new_link.removeEventListener('mousemove', Qualtrics_SV_6ApoqDfNM2d6gIZ.moveTip, false);} else if (new_link.detachEvent){ new_link.detachEvent('onmousemove', Qualtrics_SV_6ApoqDfNM2d6gIZ.moveTip);} } } var link=Qualtrics_SV_6ApoqDfNM2d6gIZ.survey+"&url="+Qualtrics_SV_6ApoqDfNM2d6gIZ.url; document.write(""); var new_link = document.getElementById('SV_6ApoqDfNM2d6gIZ'+'_feedbacklink'); new_link.style.textDecoration='underline'; new_link.onmouseover=function(){Qualtrics_SV_6ApoqDfNM2d6gIZ.showTip();}; new_link.onmouseout=function(){Qualtrics_SV_6ApoqDfNM2d6gIZ.removeTip();};